package library;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Book {
	    private int id;
	    private String category;
	    private String title;
	    private String author;
	    private String publisher;
	    private double price;
	    int quantity;

	    public Book(int id, String category, String title, String author, String publisher, double price, int quantity) {
	        this.id = id;
	        this.category = category;
	        this.title = title;
	        this.author = author;
	        this.publisher = publisher;
	        this.price = price;
	        this.quantity = quantity;
	    }

	    // Getters and setters

	    public int getId() {
	        return id;
	    }

	    public String getCategory() {
	        return category;
	    }

	    public String getTitle() {
	        return title;
	    }

	    public String getAuthor() {
	        return author;
	    }

	    public String getPublisher() {
	        return publisher;
	    }

	    public double getPrice() {
	        return price;
	    }

	    public int getQuantity() {
	        return quantity;
	    }
	}


